import React from 'react'


interface Type {
  title?:string
}

const Title : React.FC<Type>= (props) => {
   let { title } = props
console.log(title);

  
  
    return <div className="header">  
        <span
        onClick={()=>{
          console.log(1);
        }}
      >《</span>
      <span>{title}</span>
      </div>
 
}


export default Title